package com.wonghiu.framework.exchange;

import lombok.*;

/**
 * @Author wonghiu
 * @Date 2021/8/10 19:57
 * @Version 1.0.1
 */
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Builder
@ToString
public class HRpcMessage {

    //rpc message type
    private byte messageType;
    //serialization type
    private byte codec;
    //compress type
    private byte compress;
    //request id
    private int requestId;
    //request data
    private Object data;

}

